
const getIdCardTurn = (value) => {
	if (value == null || value == '') return '';
	return value.substr(0, 2) + '**************' + value.substr(value.length - 2, value.length);
}
const getPhoneTurn = (value) => {
	if (value == null || value == '') return '';
	return value.substr(0, 3) + '*****' + value.substr(value.length - 3, value.length);
}

export default {
	getIdCardTurn,
	getPhoneTurn
}